<?php

namespace App\Library\Requests\Base;

use App\Library\Rules\ShopProductSpecNumberRule;

class ShopProductSpecNumberRequest extends BaseDTORequest
{
    public function rules(): array
    {
        return [
            $this->No => ['required', 'string', 'size:20', 'regex:' . __('com.numReg'), new ShopProductSpecNumberRule],
        ];
    }
}
